package com.jwsoft.manager.core.integration;

import com.github.pagehelper.PageInfo;
import com.jwsoft.manager.common.vo.eduSchool.*;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * 所属学校表业务本地接口
 *
 * @author wangtao
 * @since 2022-11-25
 */
public interface EduSchoolIntegration {
    /** 分页查询 */
    PageInfo<EduSchoolVO> getList(EduSchoolQueryVO vo);
    /** 根据主键查询详情 */
    EduSchoolVO getById(EduSchoolKeyVO vo);

    /**
     * 根据主键查询详情
     */
    EduSchoolVO getDetail(EduSchoolKeyVO vo);
    /** 保存前统一校验*/
    void checkSave(EduSchoolVO vo);
    /** 新增 */
    EduSchoolVO add(EduSchoolVO vo);
    /** 修改 */
    EduSchoolVO edit(EduSchoolVO vo);
    /** 根据主键删除 */
    void del(EduSchoolKeyVO vo);
    /**获取学校预报名统计信息**/
    PageInfo<EduSchoolVO> getSchoolStaData(EduSchoolQueryVO vo);
    /**
     * 根据行政区划获取学校地图上的信息
     * **/
    List<EduSchoolMapVO> getSchoolMapList(EduSchoolMapQueryVO vo);

    void downloadData(EduSchoolQueryVO vo, HttpServletResponse response) ;
    /**
     * 手机端幼儿园报名学校查询
     * */
    PageInfo<EduSchoolVO> getAppNurserySchoolList(EduSchoolQueryVO vo);
    /**
     * 手机端义务段报名学校查询
     * */
    PageInfo<EduSchoolVO> getAppEnrollSchoolList(EduSchoolQueryVO vo);
    /**
     * 判断是否管理员账号
     * */
    Boolean managerCheck(EduSchoolKeyVO vo);

}
